package com.joy.eduservice.client;

import com.joy.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 焦恩越
 * @create 2021-12-06-9:07
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{
    //出错之后才执行
    @Override
    public R removeAlyiVideo(String id) {
        return R.error().message("删除视频失败");
    }

    //
    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频出错了");
    }
}
